Dear list,
I have noticed that the key leftmargin for formulas has a side effect on
\inright, see MWE below.
Assuming that is unwanted behavior, is there a way to circumvent the horizontal
misplacement of the margin note?
Thanks and best regards,
Florian
MWE:
\setupformulas[align=right
> John Kitzmiller <mailto:kitz at inradius.net
> <https://mailman.ntg.nl/mailman/listinfo/ntg-context>>
> 25. Juni 2016 um 16:20
> The following is no longer putting the “answer blank” in the right margin.
>
> \define\ansblank{\inright{\getnumber[itemgroup:itemize].
John Kitzmiller <mailto:k...@inradius.net>
25. Juni 2016 um 16:20
The following is no longer putting the “answer blank” in the right margin.
\define\ansblank{\inright{\getnumber[itemgroup:itemize]. \thinrule}}
\setupitemgroup [itemize] [n, style=bold,right=\ansblank]
\setupitemgroup[i
The following is no longer putting the “answer blank” in the right margin.
\define\ansblank{\inright{\getnumber[itemgroup:itemize]. \thinrule}}
\setupitemgroup [itemize] [n, style=bold,right=\ansblank]
\starttext
\startitemize[n]
\item A question.
\stopitemize
\showframe
\stoptext
When I
fails with the labels shifted to reflect the
temporarily narrowed text.
Oeps indeed!
It’s unrelated to the label mechanism.
\showframe
\starttext
\startnarrower
\inright[scope=local]{Right}\input ward
\stopnarrower
\blank
\startnarrower
\inright{Right}\input ward
\stopnarrower
\stoptext
Wo
On 2015-10-26 07:03, Wolfgang Schuster wrote:
\showframe
\starttext
\startnarrower
\inright[scope=local]{Right}\input ward
\stopnarrower
\blank
\startnarrower
\inright{Right}\input ward
\stopnarrower
\stoptext
Okay, unrelated to the label mechanism.
However, for explicitly placed margin
][alternative=inleft]
\MyLabel[labelname1] This is some text after \in[labelname1].
\blank
\MyLabel[labelname2] This is some text after \in[labelname2].
\blank
\setuplabel[MyLabel][alternative=inright]
\MyLabel[labelname1] This is some text after \in[labelname1
text down
alongside what follows instead of raising up to be even with what has
preceded it.
Minimal example:
\starttext
\input montgomery
\inright[][align=right,location=hanging]{Shoulder Text}
\input knuth
\stoptext
The Shoulder Text is aligned upward from the end of ward so
Maybe I'm reading the documentation (such as it is) wrong but I would
expect specifying [location=hanging] to drop the margin text down
alongside what follows instead of raising up to be even with what has
preceded it.
Minimal example:
\starttext
\input montgomery
\inright[][align=right
2007/11/26, Thomas A. Schmitz [EMAIL PROTECTED]:
This seems to work:
\definebodyfont[6pt][rm][default]
\setupinmargin[align=right,style={\switchtobodyfont[6pt]}]
Nice example, btw!
Also possible:
\definefont[MarginFont][Serif at 6pt]
\setupinmargin[style=MarginFont]
Wolfgang
Thomas, Wolfgang,
Thank you very much!! Much cleaner now.
P.S. Still can't figure out why \inright and \inrightmargin behave
differently with respect to \vii (and such)... A lot to learn... a lot
to learn...
On Nov 26, 2007 6:07 AM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
2007/11/26, Thomas
.
Need:
number every paragraph and place its number on the right margin in a
smaller (6pt) font.
Problem:
when I try to switch to a smaller font directly in an \inright:
\inright{\vi\hfill\bf\the\parCount}
that outputs the count in the main paragraph font (14pt) until I
prefix every paragraph
Quick addenda.
I attempted to read the code in page-mar.tex and tried
\def\inRightParCount{%
\inrightedge{\vi\bf\the\parCount}
\global\advance\parCount by 1 }
instead of
\def\inRightParCount{%
\inright{\vi\hfill\bf\the\parCount}
\global\advance\parCount by 1 }
and the former worked
) font.
Problem:
when I try to switch to a smaller font directly in an \inright:
\inright{\vi\hfill\bf\the\parCount}
that outputs the count in the main paragraph font (14pt) until I
prefix every paragraph with a hack
{\vi\ \setbox0=\hbox{\ }\kern-\wd0}
then \inright outputs the number correctly
14 matches
Mail list logo